package com.zzyl.mapper;

import com.zzyl.entity.Role;
import com.zzyl.vo.RoleVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleMapper {
    List<RoleVo> selectByPage(Role role);

    Integer insertRole(Role role);

    Integer updateRole(Role role);

    void deleteRole(String roleId);
}
